/**
 * @作者 libin
 * @创建时间 2021-02-08 15:09
 */
package com.yhl.missyou.repository;

import com.yhl.missyou.model.Banner;
import org.springframework.data.jpa.repository.JpaRepository;


//@Reposit
public interface BannerRepository extends JpaRepository<Banner, Long> {
    Banner findOneById(Long id);

    Banner findOneByName(String name);
}
